package entities;

import services.impl.StandardOPs;
import java.util.List;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.Arrays;
import java.time.LocalDate;
import java.io.Serializable;
import java.lang.reflect.Method;

public class Order implements Serializable {
	
	/* all primary attributes */
	private String OrderId;
	private LocalDate StartTime;
	private LocalDate EndTime;
	private int Distance;
	
	/* all references */
	private Coupon OrdertoCoupon; 
	private PaymentMethod OrdertoPaymentMethod; 
	
	/* all get and set functions */
	public String getOrderId() {
		return OrderId;
	}	
	
	public void setOrderId(String orderid) {
		this.OrderId = orderid;
	}
	public LocalDate getStartTime() {
		return StartTime;
	}	
	
	public void setStartTime(LocalDate starttime) {
		this.StartTime = starttime;
	}
	public LocalDate getEndTime() {
		return EndTime;
	}	
	
	public void setEndTime(LocalDate endtime) {
		this.EndTime = endtime;
	}
	public int getDistance() {
		return Distance;
	}	
	
	public void setDistance(int distance) {
		this.Distance = distance;
	}
	
	/* all functions for reference*/
	public Coupon getOrdertoCoupon() {
		return OrdertoCoupon;
	}	
	
	public void setOrdertoCoupon(Coupon coupon) {
		this.OrdertoCoupon = coupon;
	}			
	public PaymentMethod getOrdertoPaymentMethod() {
		return OrdertoPaymentMethod;
	}	
	
	public void setOrdertoPaymentMethod(PaymentMethod paymentmethod) {
		this.OrdertoPaymentMethod = paymentmethod;
	}			
	


}
